/*
* SMILParser
*
* Version 1.0
*
* Programmers: Jesse Louderback, Noah Pham, Chad Carpenter, and Marc Hindman
*/
package Message;

public class SMILMeta {
	private String SentFrom = "";
	private String title = "";

	public SMILMeta(SMILObject sObj) {
		title = sObj.data;
	}

	public SMILMeta() {}

	public String getSentFrom() {
		return SentFrom;
	}

	public void setSent_from(String SentFrom) {
		this.SentFrom = SentFrom;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	@Override
	public String toString() {
		if (title == "" && SentFrom == "") {
			return "";
		} else {
			return "<meta name=\"" + title + "\" />";
		}
	}
}
